package com.account.book.enums;

import lombok.Getter;
import lombok.RequiredArgsConstructor;

/**
 * @author liang-hw
 * @className ReportTypeEnum
 * @description 图标枚举类
 * @date 2023/11/09 15:05:58
 */
@Getter
@RequiredArgsConstructor
public enum StatisticsSubsectionTypeEnum implements EnumTemplate {
    /**
     * 0-总
     */
    TOTAL(0, "年"),
    /**
     * 1-年
     */
    YEAR(1, "年"),

    /**
     * 2-月
     */
    MONTH(2, "月"),

    /**
     * 3-周
     */
    WEEKS(3, "周");

    private final Integer value;

    private final String title;

    @Override
    public Integer getValue() {
        return this.value;
    }

    @Override
    public String getTitle() {
        return this.title;
    }
}
